import React,{Component} from 'react';
import {connect} from 'react-redux';
import {fetchList,fetchProduct} from '../actions/counter';
import ReactDOM from 'react-dom';
import { Tree } from 'element-react';

import 'element-theme-default';



class News extends Component{
	componentWillMount(){
		this.props.fetchList();
		
	}
	
	
	
	
	render() {
		const {lists,fetchList} =this.props;
		
		return(
			<div>
			
			</div>
		)
	}
}


const getValue = (state) => {
	return{
		lists:state.lists
	}
}

const NewsVal = connect(getValue,{fetchList})(News)

module.exports = NewsVal;